```typescript index.ts
// Get the top header (either key or micro block)
const getTopHeaderResponse = aeternityFoundation.external.getTopHeader()
```